package com.axulo.synolaucher;

import androidx.appcompat.app.AppCompatActivity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    private static final String PAKAGE = "com.synology.projectkailash";
    private static final String ACTIVITY = ".ui.login.LoginActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Intent intent = new Intent();
        intent.setComponent(new ComponentName(PAKAGE,PAKAGE + ACTIVITY));
        startActivity(intent);

        finish();
    }
}